<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:80:"/Users/yandian/work/matian/application/admin/view/bootstrap/widget/combobox.html";i:1489567884;}*/ ?>
<select name="<?php echo $comboName; ?>" class="form-control" <?php echo $htmlAttr; ?>>
    <?php if(!empty($hasEmpty)): ?>
    <option value="">--请选择--</option>
    <?php endif; if(is_array($model)): $i = 0; $__LIST__ = $model;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <option value="<?php echo $vo[$idField]; ?>" <?php if(in_array($vo[$idField],$defaultValue)): ?>selected="selected"<?php endif; ?>><?php echo $vo[$titleField]; ?></option>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</select>